﻿using Basic.FlowGatewayModule.Interface;
using Basic.FlowRemoteModel.NodeRoute;
using Basic.FlowRemoteModel.NodeRoute.Model;

namespace Basic.FlowGatewayModule.lmpl
{
    internal class FlowNodeRouteService : IFlowNodeRouteService
    {
        public long Add ( RouteAdd data )
        {
            return new AddFlowNodeRoute
            {
                Datum = data
            }.Send();
        }
        public void Delete ( long id )
        {
            new DeleteFlowNodeRoute
            {
                Id = id
            }.Send();
        }
    }
}
